package com.lingyuan.common.core.domain.vo.wms;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author：寇可往，我亦可往。
 * @Package：com.lingyuan.pojo
 * @Project：lingyuan-shopping-mall
 * @name：WmsWareSku
 * @Date：2024/9/18 10:04
 */
@Data
@TableName("wms_ware_sku")
public class WmsWareSkuVO {
    // 库存id
    @TableId(value = "id",type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Long id;
    // sku_id
    private Long skuId;
    // 库存数
    @TableField( value = "stock")
    private Integer stock;
    // sku_name
    @TableField( value = "sku_name")
    private String skuName;
    // 锁定库存
    @TableField( value = "stock_locked")
    // 仓库名 数据库没有
    private Integer stockLocked;
    //仓库 id
    private Long wareId;
    // 仓库名
    @TableField( value = "name", exist = false)
    private String name;
    // 仓库地址
    @TableField( value = "address" , exist = false)
    private String address;
    // 区域编码
    @TableField( value = "areacode",exist = false)
    private String areacode;
    // 库存预警
    @TableField( value = "warning")
     private Integer warning;
     // 用户id
    @TableField( value = "user_id")
     // 商家id
     private Long userId;

}
